<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text"
                   value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-sign" class="control-label col-xs-12 col-sm-2">{:__('Sign')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-sign" data-rule="" class="form-control" size="50" name="row[sign]" type="text"
                       value="{$row.sign}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-sign" class="btn btn-danger faupload"
                                  data-input-id="c-sign"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-sign"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-sign" class="btn btn-primary fachoose"
                                  data-input-id="c-sign" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-sign"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-sign"></ul>
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Is_score')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-is_score" data-rule="required" class="form-control" name="row[is_score]" type="number"-->
<!--                   value="{$row.is_score|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Serve_discount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serve_discount" data-rule="required" class="form-control" step="0.01"
                   name="row[serve_discount]" type="number" value="{$row.serve_discount|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
